package com.ruoyi.match.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ch_market
 * @author
 */
public class ChMarket implements Serializable {
    /**
     * 股票编号
     */
    @Excel(name = "股票编号")
    private String gid;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 买五
     */
    @Excel(name = "买五")
    private String buyFive;

    /**
     * 买五的价格
     */
    @Excel(name = "买五的价格")
    private BigDecimal buyFivePri;

    /**
     * 买四
     */
    @Excel(name = "买四")
    private String buyFour;

    /**
     * 买四的价格
     */
    @Excel(name = "买四的价格")
    private BigDecimal buyFourPri;

    /**
     * 买一
     */
    @Excel(name = "买一")
    private String buyOne;

    /**
     * 买一的价格
     */
    @Excel(name = "买一的价格")
    private BigDecimal buyOnePri;

    /**
     * 买三
     */
    @Excel(name = "买三")
    private String buyThree;

    /**
     * 买三的价格
     */
    @Excel(name = "买三的价格")
    private BigDecimal buyThreePri;

    /**
     * 买二
     */
    @Excel(name = "买二")
    private String buyTwo;

    /**
     * 买二的价格
     */
    @Excel(name = "买二的价格")
    private BigDecimal buyTwoPri;

    /**
     * 竞买价
     */
    @Excel(name = "竞买价")
    private BigDecimal competitivePri;

    /**
     * 日期
     */
    @Excel(name = "日期",dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    /**
     * 涨跌百分比
     */
    @Excel(name = "涨跌百分比")
    private BigDecimal increPer;

    /**
     * 涨跌额
     */
    @Excel(name = "涨跌额")
    private BigDecimal increase;

    /**
     * 当前价格
     */
    @Excel(name = "当前价格")
    private BigDecimal nowPri;

    /**
     * 竞卖价
     */
    @Excel(name = "竞卖价")
    private BigDecimal reservePri;

    /**
     * 卖五
     */
    @Excel(name = "卖五")
    private String sellFive;

    /**
     * 卖五的价格
     */
    @Excel(name = "卖五的价格")
    private BigDecimal sellFivePri;

    /**
     * 卖四
     */
    @Excel(name = "卖四")
    private String sellFour;

    /**
     * 卖四的价格
     */
    @Excel(name = "卖四的价格")
    private BigDecimal sellFourPri;

    /**
     * 卖一
     */
    @Excel(name = "卖一")
    private String sellOne;

    /**
     * 卖一的价格
     */
    @Excel(name = "卖一的价格")
    private String sellOnePri;

    /**
     * 卖三
     */
    @Excel(name = "卖三")
    private String sellThree;

    /**
     * 卖三的价格
     */
    @Excel(name = "卖三的价格")
    private BigDecimal sellThreePri;

    /**
     * 卖二
     */
    @Excel(name = "卖二")
    private String sellTwo;

    /**
     * 卖二的价格
     */
    @Excel(name = "卖二的价格")
    private BigDecimal sellTwoPri;

    /**
     * 时间
     */
    @Excel(name = "时间")
    private Date time;

    /**
     * 今日最高价格
     */
    @Excel(name = "今日最高价格")
    private BigDecimal todayMax;

    /**
     * 今日最低价格
     */
    @Excel(name = "今日最低价格")
    private BigDecimal todayMin;

    /**
     * 今日开始价格
     */
    @Excel(name = "今日开始价格")
    private BigDecimal todayStartPri;

    /**
     * 成交量(万)
     */
    @Excel(name = "成交量(万)")
    private String traAmount;

    /**
     * 成交额
     */
    @Excel(name = "成交额")
    private String traNumber;

    /**
     * 昨日结束价格
     */
    @Excel(name = "昨日结束价格")
    private String yestodEndPri;

    private static final long serialVersionUID = 1L;

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBuyFive() {
        return buyFive;
    }

    public void setBuyFive(String buyFive) {
        this.buyFive = buyFive;
    }

    public BigDecimal getBuyFivePri() {
        return buyFivePri;
    }

    public void setBuyFivePri(BigDecimal buyFivePri) {
        this.buyFivePri = buyFivePri;
    }

    public String getBuyFour() {
        return buyFour;
    }

    public void setBuyFour(String buyFour) {
        this.buyFour = buyFour;
    }

    public BigDecimal getBuyFourPri() {
        return buyFourPri;
    }

    public void setBuyFourPri(BigDecimal buyFourPri) {
        this.buyFourPri = buyFourPri;
    }

    public String getBuyOne() {
        return buyOne;
    }

    public void setBuyOne(String buyOne) {
        this.buyOne = buyOne;
    }

    public BigDecimal getBuyOnePri() {
        return buyOnePri;
    }

    public void setBuyOnePri(BigDecimal buyOnePri) {
        this.buyOnePri = buyOnePri;
    }

    public String getBuyThree() {
        return buyThree;
    }

    public void setBuyThree(String buyThree) {
        this.buyThree = buyThree;
    }

    public BigDecimal getBuyThreePri() {
        return buyThreePri;
    }

    public void setBuyThreePri(BigDecimal buyThreePri) {
        this.buyThreePri = buyThreePri;
    }

    public String getBuyTwo() {
        return buyTwo;
    }

    public void setBuyTwo(String buyTwo) {
        this.buyTwo = buyTwo;
    }

    public BigDecimal getBuyTwoPri() {
        return buyTwoPri;
    }

    public void setBuyTwoPri(BigDecimal buyTwoPri) {
        this.buyTwoPri = buyTwoPri;
    }

    public BigDecimal getCompetitivePri() {
        return competitivePri;
    }

    public void setCompetitivePri(BigDecimal competitivePri) {
        this.competitivePri = competitivePri;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public BigDecimal getIncrePer() {
        return increPer;
    }

    public void setIncrePer(BigDecimal increPer) {
        this.increPer = increPer;
    }

    public BigDecimal getIncrease() {
        return increase;
    }

    public void setIncrease(BigDecimal increase) {
        this.increase = increase;
    }

    public BigDecimal getNowPri() {
        return nowPri;
    }

    public void setNowPri(BigDecimal nowPri) {
        this.nowPri = nowPri;
    }

    public BigDecimal getReservePri() {
        return reservePri;
    }

    public void setReservePri(BigDecimal reservePri) {
        this.reservePri = reservePri;
    }

    public String getSellFive() {
        return sellFive;
    }

    public void setSellFive(String sellFive) {
        this.sellFive = sellFive;
    }

    public BigDecimal getSellFivePri() {
        return sellFivePri;
    }

    public void setSellFivePri(BigDecimal sellFivePri) {
        this.sellFivePri = sellFivePri;
    }

    public String getSellFour() {
        return sellFour;
    }

    public void setSellFour(String sellFour) {
        this.sellFour = sellFour;
    }

    public BigDecimal getSellFourPri() {
        return sellFourPri;
    }

    public void setSellFourPri(BigDecimal sellFourPri) {
        this.sellFourPri = sellFourPri;
    }

    public String getSellOne() {
        return sellOne;
    }

    public void setSellOne(String sellOne) {
        this.sellOne = sellOne;
    }

    public String getSellOnePri() {
        return sellOnePri;
    }

    public void setSellOnePri(String sellOnePri) {
        this.sellOnePri = sellOnePri;
    }

    public String getSellThree() {
        return sellThree;
    }

    public void setSellThree(String sellThree) {
        this.sellThree = sellThree;
    }

    public BigDecimal getSellThreePri() {
        return sellThreePri;
    }

    public void setSellThreePri(BigDecimal sellThreePri) {
        this.sellThreePri = sellThreePri;
    }

    public String getSellTwo() {
        return sellTwo;
    }

    public void setSellTwo(String sellTwo) {
        this.sellTwo = sellTwo;
    }

    public BigDecimal getSellTwoPri() {
        return sellTwoPri;
    }

    public void setSellTwoPri(BigDecimal sellTwoPri) {
        this.sellTwoPri = sellTwoPri;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public BigDecimal getTodayMax() {
        return todayMax;
    }

    public void setTodayMax(BigDecimal todayMax) {
        this.todayMax = todayMax;
    }

    public BigDecimal getTodayMin() {
        return todayMin;
    }

    public void setTodayMin(BigDecimal todayMin) {
        this.todayMin = todayMin;
    }

    public BigDecimal getTodayStartPri() {
        return todayStartPri;
    }

    public void setTodayStartPri(BigDecimal todayStartPri) {
        this.todayStartPri = todayStartPri;
    }

    public String getTraAmount() {
        return traAmount;
    }

    public void setTraAmount(String traAmount) {
        this.traAmount = traAmount;
    }

    public String getTraNumber() {
        return traNumber;
    }

    public void setTraNumber(String traNumber) {
        this.traNumber = traNumber;
    }

    public String getYestodEndPri() {
        return yestodEndPri;
    }

    public void setYestodEndPri(String yestodEndPri) {
        this.yestodEndPri = yestodEndPri;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ChMarket other = (ChMarket) that;
        return (this.getGid() == null ? other.getGid() == null : this.getGid().equals(other.getGid()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getBuyFive() == null ? other.getBuyFive() == null : this.getBuyFive().equals(other.getBuyFive()))
            && (this.getBuyFivePri() == null ? other.getBuyFivePri() == null : this.getBuyFivePri().equals(other.getBuyFivePri()))
            && (this.getBuyFour() == null ? other.getBuyFour() == null : this.getBuyFour().equals(other.getBuyFour()))
            && (this.getBuyFourPri() == null ? other.getBuyFourPri() == null : this.getBuyFourPri().equals(other.getBuyFourPri()))
            && (this.getBuyOne() == null ? other.getBuyOne() == null : this.getBuyOne().equals(other.getBuyOne()))
            && (this.getBuyOnePri() == null ? other.getBuyOnePri() == null : this.getBuyOnePri().equals(other.getBuyOnePri()))
            && (this.getBuyThree() == null ? other.getBuyThree() == null : this.getBuyThree().equals(other.getBuyThree()))
            && (this.getBuyThreePri() == null ? other.getBuyThreePri() == null : this.getBuyThreePri().equals(other.getBuyThreePri()))
            && (this.getBuyTwo() == null ? other.getBuyTwo() == null : this.getBuyTwo().equals(other.getBuyTwo()))
            && (this.getBuyTwoPri() == null ? other.getBuyTwoPri() == null : this.getBuyTwoPri().equals(other.getBuyTwoPri()))
            && (this.getCompetitivePri() == null ? other.getCompetitivePri() == null : this.getCompetitivePri().equals(other.getCompetitivePri()))
            && (this.getDate() == null ? other.getDate() == null : this.getDate().equals(other.getDate()))
            && (this.getIncrePer() == null ? other.getIncrePer() == null : this.getIncrePer().equals(other.getIncrePer()))
            && (this.getIncrease() == null ? other.getIncrease() == null : this.getIncrease().equals(other.getIncrease()))
            && (this.getNowPri() == null ? other.getNowPri() == null : this.getNowPri().equals(other.getNowPri()))
            && (this.getReservePri() == null ? other.getReservePri() == null : this.getReservePri().equals(other.getReservePri()))
            && (this.getSellFive() == null ? other.getSellFive() == null : this.getSellFive().equals(other.getSellFive()))
            && (this.getSellFivePri() == null ? other.getSellFivePri() == null : this.getSellFivePri().equals(other.getSellFivePri()))
            && (this.getSellFour() == null ? other.getSellFour() == null : this.getSellFour().equals(other.getSellFour()))
            && (this.getSellFourPri() == null ? other.getSellFourPri() == null : this.getSellFourPri().equals(other.getSellFourPri()))
            && (this.getSellOne() == null ? other.getSellOne() == null : this.getSellOne().equals(other.getSellOne()))
            && (this.getSellOnePri() == null ? other.getSellOnePri() == null : this.getSellOnePri().equals(other.getSellOnePri()))
            && (this.getSellThree() == null ? other.getSellThree() == null : this.getSellThree().equals(other.getSellThree()))
            && (this.getSellThreePri() == null ? other.getSellThreePri() == null : this.getSellThreePri().equals(other.getSellThreePri()))
            && (this.getSellTwo() == null ? other.getSellTwo() == null : this.getSellTwo().equals(other.getSellTwo()))
            && (this.getSellTwoPri() == null ? other.getSellTwoPri() == null : this.getSellTwoPri().equals(other.getSellTwoPri()))
            && (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime()))
            && (this.getTodayMax() == null ? other.getTodayMax() == null : this.getTodayMax().equals(other.getTodayMax()))
            && (this.getTodayMin() == null ? other.getTodayMin() == null : this.getTodayMin().equals(other.getTodayMin()))
            && (this.getTodayStartPri() == null ? other.getTodayStartPri() == null : this.getTodayStartPri().equals(other.getTodayStartPri()))
            && (this.getTraAmount() == null ? other.getTraAmount() == null : this.getTraAmount().equals(other.getTraAmount()))
            && (this.getTraNumber() == null ? other.getTraNumber() == null : this.getTraNumber().equals(other.getTraNumber()))
            && (this.getYestodEndPri() == null ? other.getYestodEndPri() == null : this.getYestodEndPri().equals(other.getYestodEndPri()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getGid() == null) ? 0 : getGid().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getBuyFive() == null) ? 0 : getBuyFive().hashCode());
        result = prime * result + ((getBuyFivePri() == null) ? 0 : getBuyFivePri().hashCode());
        result = prime * result + ((getBuyFour() == null) ? 0 : getBuyFour().hashCode());
        result = prime * result + ((getBuyFourPri() == null) ? 0 : getBuyFourPri().hashCode());
        result = prime * result + ((getBuyOne() == null) ? 0 : getBuyOne().hashCode());
        result = prime * result + ((getBuyOnePri() == null) ? 0 : getBuyOnePri().hashCode());
        result = prime * result + ((getBuyThree() == null) ? 0 : getBuyThree().hashCode());
        result = prime * result + ((getBuyThreePri() == null) ? 0 : getBuyThreePri().hashCode());
        result = prime * result + ((getBuyTwo() == null) ? 0 : getBuyTwo().hashCode());
        result = prime * result + ((getBuyTwoPri() == null) ? 0 : getBuyTwoPri().hashCode());
        result = prime * result + ((getCompetitivePri() == null) ? 0 : getCompetitivePri().hashCode());
        result = prime * result + ((getDate() == null) ? 0 : getDate().hashCode());
        result = prime * result + ((getIncrePer() == null) ? 0 : getIncrePer().hashCode());
        result = prime * result + ((getIncrease() == null) ? 0 : getIncrease().hashCode());
        result = prime * result + ((getNowPri() == null) ? 0 : getNowPri().hashCode());
        result = prime * result + ((getReservePri() == null) ? 0 : getReservePri().hashCode());
        result = prime * result + ((getSellFive() == null) ? 0 : getSellFive().hashCode());
        result = prime * result + ((getSellFivePri() == null) ? 0 : getSellFivePri().hashCode());
        result = prime * result + ((getSellFour() == null) ? 0 : getSellFour().hashCode());
        result = prime * result + ((getSellFourPri() == null) ? 0 : getSellFourPri().hashCode());
        result = prime * result + ((getSellOne() == null) ? 0 : getSellOne().hashCode());
        result = prime * result + ((getSellOnePri() == null) ? 0 : getSellOnePri().hashCode());
        result = prime * result + ((getSellThree() == null) ? 0 : getSellThree().hashCode());
        result = prime * result + ((getSellThreePri() == null) ? 0 : getSellThreePri().hashCode());
        result = prime * result + ((getSellTwo() == null) ? 0 : getSellTwo().hashCode());
        result = prime * result + ((getSellTwoPri() == null) ? 0 : getSellTwoPri().hashCode());
        result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode());
        result = prime * result + ((getTodayMax() == null) ? 0 : getTodayMax().hashCode());
        result = prime * result + ((getTodayMin() == null) ? 0 : getTodayMin().hashCode());
        result = prime * result + ((getTodayStartPri() == null) ? 0 : getTodayStartPri().hashCode());
        result = prime * result + ((getTraAmount() == null) ? 0 : getTraAmount().hashCode());
        result = prime * result + ((getTraNumber() == null) ? 0 : getTraNumber().hashCode());
        result = prime * result + ((getYestodEndPri() == null) ? 0 : getYestodEndPri().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", gid=").append(gid);
        sb.append(", name=").append(name);
        sb.append(", buyFive=").append(buyFive);
        sb.append(", buyFivePri=").append(buyFivePri);
        sb.append(", buyFour=").append(buyFour);
        sb.append(", buyFourPri=").append(buyFourPri);
        sb.append(", buyOne=").append(buyOne);
        sb.append(", buyOnePri=").append(buyOnePri);
        sb.append(", buyThree=").append(buyThree);
        sb.append(", buyThreePri=").append(buyThreePri);
        sb.append(", buyTwo=").append(buyTwo);
        sb.append(", buyTwoPri=").append(buyTwoPri);
        sb.append(", competitivePri=").append(competitivePri);
        sb.append(", date=").append(date);
        sb.append(", increPer=").append(increPer);
        sb.append(", increase=").append(increase);
        sb.append(", nowPri=").append(nowPri);
        sb.append(", reservePri=").append(reservePri);
        sb.append(", sellFive=").append(sellFive);
        sb.append(", sellFivePri=").append(sellFivePri);
        sb.append(", sellFour=").append(sellFour);
        sb.append(", sellFourPri=").append(sellFourPri);
        sb.append(", sellOne=").append(sellOne);
        sb.append(", sellOnePri=").append(sellOnePri);
        sb.append(", sellThree=").append(sellThree);
        sb.append(", sellThreePri=").append(sellThreePri);
        sb.append(", sellTwo=").append(sellTwo);
        sb.append(", sellTwoPri=").append(sellTwoPri);
        sb.append(", time=").append(time);
        sb.append(", todayMax=").append(todayMax);
        sb.append(", todayMin=").append(todayMin);
        sb.append(", todayStartPri=").append(todayStartPri);
        sb.append(", traAmount=").append(traAmount);
        sb.append(", traNumber=").append(traNumber);
        sb.append(", yestodEndPri=").append(yestodEndPri);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}